.hidden { display: none; }
.clearfix { clear: both; }
@font-face {
  font-family: 'TeXGyreHeros';
  src: url('fonts/texgyreheros-regular-webfont.eot');
  src: local('☺'), url('fonts/texgyreheros-regular-webfont.woff') format('woff'), url('fonts/texgyreheros-regular-webfont.ttf') format('truetype'), url('fonts/texgyreheros-regular-webfont.svg#webfontLnIzFk4Q') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'TeXGyreHeros';
  src: url('fonts/texgyreheros-italic-webfont.eot');
  src: local('☺'), url('fonts/texgyreheros-italic-webfont.woff') format('woff'), url('fonts/texgyreheros-italic-webfont.ttf') format('truetype'), url('fonts/texgyreheros-italic-webfont.svg#webfontvQjiCLIH') format('svg');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'TeXGyreHeros';
  src: url('fonts/texgyreheros-bold-webfont.eot');
  src: local('☺'), url('fonts/texgyreheros-bold-webfont.woff') format('woff'), url('fonts/texgyreheros-bold-webfont.ttf') format('truetype'), url('fonts/texgyreheros-bold-webfont.svg#webfont2ZFI5J8u') format('svg');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'TeXGyreHerosBoldItalic';
  src: url('fonts/texgyreheros-bolditalic-webfont.eot');
  src: local('☺'), url('fonts/texgyreheros-bolditalic-webfont.woff') format('woff'), url('fonts/texgyreheros-bolditalic-webfont.ttf') format('truetype'), url('fonts/texgyreheros-bolditalic-webfont.svg#webfontv2u9PPvQ') format('svg');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'DroidSans';
  src: url('fonts/DroidSans-webfont.eot');
  src: local('☺'), url('fonts/DroidSans-webfont.woff') format('woff'), url('fonts/DroidSans-webfont.ttf') format('truetype'), url('fonts/DroidSans-webfont.svg#webfontKYIQSBQk') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'DroidSans';
  src: url('fonts/DroidSans-Bold-webfont.eot');
  src: local('☺'), url('fonts/DroidSans-Bold-webfont.woff') format('woff'), url('fonts/DroidSans-Bold-webfont.ttf') format('truetype'), url('fonts/DroidSans-Bold-webfont.svg#webfontljpTCDjw') format('svg');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Cantarell';
  src: url('fonts/Cantarell-Regular-webfont.eot');
  src: local('☺'), url('fonts/Cantarell-Regular-webfont.woff') format('woff'), url('fonts/Cantarell-Regular-webfont.ttf') format('truetype'), url('fonts/Cantarell-Regular-webfont.svg#webfontaI1yI6ue') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Cantarell';
  src: url('fonts/Cantarell-Oblique-webfont.eot');
  src: local('☺'), url('fonts/Cantarell-Oblique-webfont.woff') format('woff'), url('fonts/Cantarell-Oblique-webfont.ttf') format('truetype'), url('fonts/Cantarell-Oblique-webfont.svg#webfontFxXF3dEi') format('svg');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Cantarell';
  src: url('fonts/Cantarell-Bold-webfont.eot');
  src: local('☺'), url('fonts/Cantarell-Bold-webfont.woff') format('woff'), url('fonts/Cantarell-Bold-webfont.ttf') format('truetype'), url('fonts/Cantarell-Bold-webfont.svg#webfontfFimAbpE') format('svg');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Cantarell';
  src: url('fonts/Cantarell-BoldOblique-webfont.eot');
  src: local('☺'), url('fonts/Cantarell-BoldOblique-webfont.woff') format('woff'), url('fonts/Cantarell-BoldOblique-webfont.ttf') format('truetype'), url('fonts/Cantarell-BoldOblique-webfont.svg#webfontzKyudDXV') format('svg');
  font-weight: bold;
  font-style: italic;
}
.inset { text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.4); }
.clearfix { clear: both; }
body {
  font-family: helvetica, arial, verdana, sans-serif;
  font-size: 13.5px;
  color: #333333;
  background: #cccccc;
  text-rendering: optimizeLegibility;
}
#wrapper { text-align: center; }
h1, h2, h3, h4, h5 {
  margin: 0.5em 0px;
  letter-spacing: -0.06em;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.4);
  font-family: 'DroidSans', 'TeXGyreHeros', helvetica, arial, verdana, sans-serif;
  font-weight: normal;
}
h1 {
  font-size: 2em;
  color: rgba(0, 0, 0, 0.75);
}
h2 { font-size: 1.5em; }
pre {
  margin: 1em;
  padding: 1em;
  background: #eeeeee;
  white-space: pre-wrap;
  text-align: left;
  font-size: 12px;
  position: absolute;
  z-index: 100;
}
.box {
  margin: 1em;
  padding: 1em;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  -webkit-box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4) inset;
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  vertical-align: top;
  text-align: left;
  min-width: 15em;
}
.box h2 {
  text-align: center;
  text-transform: capitalize;
}
.item {
  padding: 0.5em;
  color: #555555;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  letter-spacing: -0.06em;
}
.box .item:first-child { border-top: none; }
.item strong {
  font-weight: normal;
  color: #330000;
}
.item:hover {
  background: rgba(0, 0, 0, 0.125);
  cursor: pointer;
  -webkit-box-shadow: 0px -1px 0px rgba(255, 255, 255, 0.5);
  -moz-box-shadow: 0px -1px 0px rgba(255, 255, 255, 0.5);
  box-shadow: 0px -1px 0px rgba(255, 255, 255, 0.5);
}
.item span {
  color: #eeeeee;
  display: none;
  position: absolute;
  background: #333333;
  padding: 0.5em;
  margin-top: -3.75em;
  margin-left: -2.5em;
  display: none;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  z-index: 5;
}
.item span:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50px;
  width: 0;
  height: 0;
  border-width: 0 10px 10px 0px;
  border-style: solid;
  border-color: transparent #333333;
  z-index: 5;
}
.add_button {
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4) inset;
  position: absolute;
  margin-top: -3em;
  color: rgba(0, 0, 0, 0.4);
  padding: 0.5em;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  background: rgba(0, 0, 0, 0.05);
}
.add_button:hover {
  cursor: pointer;
  color: #eeeeee;
  background: #333333;
}
.add_form {
  margin-top: -5em;
  margin-left: -3em;
  color: #eeeeee;
  background: #333333;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  padding: 1em;
  position: absolute;
  z-index: 100;
}
.add_form span { margin: 0px 0.5em; }
.add_form input[type="button"] { margin-left: 0.5em; }
.add_form:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50px;
  width: 0;
  height: 0;
  border-width: 0 10px 10px 0px;
  border-style: solid;
  border-color: transparent #333333;
  z-index: 5;
}
.item:hover .actions { display: block; }
.actions {
  padding: 0.5em;
  position: absolute;
  background: #333333;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  display: none;
  margin-top: -1.5em;
  margin-left: -5.25em;
}
.edit_button { display: none; }
#messages {
  display: none;
  left: 0px;
  white-space: pre-wrap;
  margin: 0px !important;
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 1em;
  font-size: 1.25em;
  text-align: left;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}
#messages strong { text-transform: capitalize; }
#predictions .add_button { display: none; }
.explanation {
  padding: 1em;
  position: fixed;
  background: #333333;
  top: 15%;
  left: 25%;
  width: 50%;
  overflow: auto;
  display: none;
  color: #efefef;
  -webkit-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  z-index: 5;
}
.explanation h3 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.25em;
}
.explanation h4 {
  text-align: center;
  font-size: 1.125em;
  text-transform: lowercase;
}
.explanation:hover .item span { display: none !important; }
.item:hover .explanation .item span { display: none !important; }
.item:hover .explanation .item {
  color: #333333;
  background: inherit;
}
.item:hover .explanation .item strong { color: #330000; }
.explanation .item:hover span { display: none !important; }
.direction {
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  padding: 1em;
  background: #ffffff;
  color: #333333;
  margin-bottom: 1em;
}
.direction:last-child { margin-bottom: 0px; }
.direction p {
  margin-bottom: 0.5em;
  text-align: left;
}
.direction p strong {
  color: #220000;
  font-weight: normal;
}
.direction p:last-child { margin-bottom: none; }
#beliefs .add_button { display: none; }
.belief_fact, .belief_prediction {
  display: inline-block;
  padding: 0.25em;
}
#beliefs .actions { display: none; }
.top_action_button {
  font-family: 'DroidSans', 'TeXGyreHeros', helvetica, arial, verdana, sans-serif;
  border: solid 1px transparent;
  padding: 0.5em;
  margin: 0.5em;
  letter-spacing: -0.06em;
  font-size: 1.25em;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) inset;
}
.top_action_button:hover {
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
p.arrow {
  z-index: 0;
  display: inline-block;
  -webkit-top-left-radius: 2em;
  -moz-border-radius-topleft: 2em;
  border-top-left-radius: 2em;
  -webkit-bottom-right-radius: 2em;
  -moz-border-radius-bottomright: 2em;
  border-bottom-right-radius: 2em;
  font-size: 0.8em;
  position: absolute;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-left: -6.5em;
  padding: 0.3em;
  width: 5.5em;
  color: #ffffff;
  opacity: 0.8;
}
p.agree { background: #118811; }
p.disagree { background: #881111; }
